

package com.kimo.shop.common.config;

/**
 * 常量
 */
public class Constant {

	/** 超级管理员ID */
	public static final int SUPER_ADMIN_ID = 1;

	/**
	 * 如果把平台的数据也保存在店铺里面，如分类，热搜之类的，保存的店铺id
	 */
	public static final long PLATFORM_SHOP_ID = 1L;
	/**
	 * 平台店名称
	 */
	public static final String PLATFORM_SHOP_NAME = "官方店";
	/**
	 * 平台条件标签上限
	 */
	public static final long TAG_LIMIT_NUM = 20;
	/**
	 * 积分名称
	 */
	public static final String SCORE_CONFIG = "SCORE_CONFIG";
	public static final String SCORE_EXPLAIN = "SCORE_EXPLAIN";
	public static final String LEVEL_SHOW = "LEVEL_SHOW";
	public static final String SCORE_EXPIRE = "SCORE_EXPIRE";
	public static final String SCORE_QUESTION = "SCORE_QUESTION";
	/**
	 * 成长值名称
	 */
	public static final String GROWTH_CONFIG = "GROWTH_CONFIG";

	/**
	 * 中文逗号
	 */
	public static final String CN_COMMA = "，";

	/** 会员初始等级id*/
	public static final int USER_LEVEL_INIT = 1;

	/** 商家线下核销*/
	public static final int SERVICE_TYPE = 1;

	/** 系统菜单最大id */
	public static final int SYS_MENU_MAX_ID = 30;

	/** 订单类型：积分订单 */
	public static final int ORDER_TYPE_SCORE = 3;

	/** 订单超时时间 */
	public static final int ORDER_MAX_TIME = 30;

	/**
	 * 最大确认收货退款时间7天
	 */
	public static final int MAX_FINALLY_REFUND_TIME = 7;

	/**
	 * 退款最长申请时间，当申请时间过了这个时间段之后，会取消退款申请
	 */
	public static final int MAX_REFUND_APPLY_TIME = 7;
	/**
	 * 离即将退款超时12小时时提醒
	 */
	public static final int MAX_REFUND_HOUR = 12;
	/**
	 * 分销佣金结算在确认收货后的时间，维权期过后（7+7+1）
	 */
	public static final int DISTRIBUTION_SETTLEMENT_TIME = MAX_FINALLY_REFUND_TIME + MAX_REFUND_APPLY_TIME + 1;

	/**
	 * 查询订单成功状态
	 */
	public static final String SUCCESS = "SUCCESS";

	/**
	 * 一级分类id
	 */
	public static final Long CATEGORY_ID = 0L;
	/**
	 * 商城缺失sku属性时的字符描述
	 */
	public static final String SKU_PREFIX = "规格:";
	public static final String DEFAULT_SKU = "规格";
	/**
	 * 配置名称
	 */
	public static final String ALIPAY_CONFIG = "ALIPAY_CONFIG";
	public static final String WXPAY_CONFIG = "WXPAY_CONFIG";
	public static final String QINIU_CONFIG = "QINIU_CONFIG";
	public static final String ALI_OSS_CONFIG = "ALI_OSS_CONFIG";
	public static final String Q_CLOUD_CONFIG = "Q_CLOUD_CONFIG";
	public static final String QUICKBIRD_CONFIG = "QUICKBIRD_CONFIG";
	public static final String QUICK100_CONFIG = "QUICK100_CONFIG";
	public static final String MA_CONFIG = "MA_CONFIG";
	public static final String MP_CONFIG = "MP_CONFIG";
	public static final String ALIDAYU_CONFIG = "ALIDAYU_CONFIG";
	public static final String DOMAIN_CONFIG = "DOMAIN_CONFIG";
	public static final String MX_APP_CONFIG = "MX_APP_CONFIG";
	public static final String PAYPAL_CONFIG = "PAYPAL_CONFIG";
	public static final String SENSITIVE_WORDS = "SENSITIVE_WORDS";
	/** 汇率配置 */
	public static final String EXCHANGE_RATE_CONFIG = "EXCHANGE_RATE_CONFIG";
	/**
	 * 记录缓存名称
	 */
	public static final String FLOW_ANALYSIS_LOG = "flowAnalysisLog";

	/**
	 * 心跳字符串
	 */
	public static final String HEART_BEAT = "HEART_BEAT";

	/** 最大分类层级 */
	public static final int MAX_CATEGORY_GRADE = 2;
	/**
	 * 商品最低金额(非积分商品)
	 */
	public static final Double MIN_PRODUCT_AMOUNT = 0.01D;
    public static final Long ZERO_LONG = 0L;
    public static final Double ZERO_DOUBLE = 0D;
}
